/**
 * @Author: zkz
 * @Date: 2025/09/17 16:04
 * @Description: 用户接口
 */
import { request } from '@/utils/request';
//获取登录请求
export function loginAPI(data) {
    return request({
        url: '/authorizations',
        method: 'post',
        data: data
    })
}

//获取用户信息
export function getUserInfoAPI() {
    return request({
        url: '/user/profile',
        method: 'get',
    })
}